<!DOCTYPE html>
<!-- saved from url=(0125)http://www.cssmoban.com/preview/index.html?url=http://zly2021010116_13.demo.kangjingept.com:8020/&id=17493&tid=20209539500826 -->
<html style="" class=" js no-touch svg inlinesvg svgclippaths no-ie8compat"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>在线模拟预览-模板之家cssMoban.com</title>

    <script charset="UTF-8" src="./在线模拟预览-模板之家cssMoban.com_files/uba.min.js.下载"></script><script charset="UTF-8" src="./在线模拟预览-模板之家cssMoban.com_files/QiMoIMSDK-89f5d63e96.js.下载"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/hm.js.下载"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/hm.js.下载"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/modernizr.js.下载"></script>
    <link rel="stylesheet" href="./在线模拟预览-模板之家cssMoban.com_files/dmaku.min.css" type="text/css" media="all">
    <link rel="stylesheet" href="./在线模拟预览-模板之家cssMoban.com_files/login.css">
    <script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/jquery.js.下载"></script>
	<!-- <script src="/statics/user/js/jquery.1.9.1.min.js"></script> -->
	<script src="./在线模拟预览-模板之家cssMoban.com_files/cookie.js.下载"></script>
	<script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/tj.js.下载"></script><style>
    .download-hint{
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.4);
      position: fixed;
      top: 0;
      left: 0;
      display: none;
    }
    .download-hint .hint-box{
      width: 500px;
      height: auto;
      background-color: #fff;
      position: absolute;
      left: 50%;
      top: 40%;
      margin-left: -250px;
      font-size: 16px;
      color: #333333;
    }
    .hint-box .hint-title{
      width: 100%;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background-color: #2A5ABE;
      color: #ffffff;
    }
    .hint-box .hint-content{
      width: 100%;
      height: auto;
      box-sizing: border-box;
      padding: 20px;
    }
    .hint-box .hint-content p.hint-p2{
      margin-top: 10px;
    }
    .hint-box .hint-content p.hint-p3{
      margin-top: 10px;
    }
    .hint-box .hint-content p span{
      color: #E10A0A;
    }
    .hint-box .hint-footer{
      width: 100%;
      box-sizing: border-box;
      border-top: 1px solid #cccccc;
    }
    .hint-box .hint-footer .hint-btn{
      float: left;
      width: 50%;
      box-sizing: border-box;
      text-align: center;
      line-height: 40px;
      cursor: pointer;
    }
    .hint-box .hint-footer .affirm-down{
      border-right: 1px solid #cccccc;
      color: #F87814;
    }
  </style><link type="text/css" rel="stylesheet" href="./在线模拟预览-模板之家cssMoban.com_files/chatStyle-6da16ba661.css"><link type="text/css" rel="stylesheet" href="./在线模拟预览-模板之家cssMoban.com_files/chatStyle-6da16ba661.css"></head><body style="overflow-y:hidden;background: #434A54;" class="active"><div style="display: none"><script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/z_stat.php"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/core.php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=1278890537" target="_blank" title="站长统计">站长统计</a></div><script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/7moorInit.js.下载" async="async"></script>
    <script>
        //声明_czc对象:
        var _czc = _czc || [];
        //绑定siteid
        _czc.push(["_setAccount", "1278890537"]);
    </script>



<!--插入广告-->
<script src="./在线模拟预览-模板之家cssMoban.com_files/ad3_728x90.js.下载"></script>

<input type="hidden" id="infoid" value="10451" style="display:none;">

<div class="demo-header">
    <ul class="navbar ov">
        <li><a data-id="preview-pc" class="posti arve pc" href="javascript:;" title="电脑"><i class="ue"></i>模拟电脑</a></li>
        <li><a data-id="preview-phone" class="posti phone" id="phone" href="javascript:;" title="模拟手机"><i class="ue"></i>模拟手机</a></li>
        <li><a data-id="preview-phone2" class="posti phone2" href="javascript:;" title="模拟横向手机"><i class="ue"></i>模拟手机横向</a></li>
		
        <li><a data-id="preview-portrait" class="posti portrait" href="javascript:;" title="模拟平板"><i class="ue"></i>模拟平板</a></li>
        <li><a data-id="preview-landscape" class="posti landscape" href="javascript:;" title="模拟横向平板"><i class="ue"></i>模拟平板横向</a></li>

        <li class="download"><a title="下载" href="javascript:dwonload();" class="download-btn"></a></li>

        <li class="fr"><a title="移除框架" href="javascript:cols();" class=""><i class="ue"></i></a></li>
    </ul>

    <div class="preview-nav-list active">
        <div class="preview-nav-list-block" id="nav-html"><span data-src="a/about/index.html">index.html</span><span data-src="a/hezuohuoban/index.html">index.html</span><span data-src="a/jiaru/index.html">index.html</span><span data-src="a/jishuyupeixun/index.html">index.html</span><span data-src="a/kehuanli/index.html">index.html</span><span data-src="a/shipinzhongxin/index.html">index.html</span><span data-src="a/xinwendongtai/70.html">70.html</span><span data-src="a/xinwendongtai/71.html">71.html</span><span data-src="a/xinwendongtai/72.html">72.html</span><span data-src="a/xinwendongtai/index.html">index.html</span><span data-src="a/yiliaoxiangmu/index.html">index.html</span><span data-src="a/yimeizhishi/64.html">64.html</span><span data-src="a/yimeizhishi/65.html">65.html</span><span data-src="a/yimeizhishi/66.html">66.html</span><span data-src="a/yimeizhishi/index.html">index.html</span><span data-src="a/zaixianyuyue/index.html">index.html</span><span data-src="a/zhuanjiatuandui/index.html">index.html</span><span data-src="index.html" class="active">index.html</span></div>
    </div>
</div>

<div class="navbar-tip" style="display: none;">
    <img src="./在线模拟预览-模板之家cssMoban.com_files/icon-tip1.png" alt="">
</div>

<div class="preview-portrait-block" style="display: block;">
    <div class="preview-pc podmk">
        <div class="preview-top">
            <i></i>
            <span></span>
        </div>
        <div class="preview-home"></div>
        <div class="preview-view">
            <iframe id="iframe" src="./在线模拟预览-模板之家cssMoban.com_files/saved_resource(1).html" frameborder="0" scrolling="yes" style="height: 650px;"></iframe>
        </div>
    </div>
</div>

<div style="display: none">
    <script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/z_stat.php"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/core.php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=1278890537" target="_blank" title="站长统计">站长统计</a>
</div>



<script src="./在线模拟预览-模板之家cssMoban.com_files/quick-login.js.下载"></script><div class="login-box">
    <div class="login">

        <div class="close-loginbox"></div>

        <div class="title">
            <p class="title-major">模板之家</p>
            <p class="title-minor"><em></em><span>三秒登录即可下载</span><em></em></p>
        </div>

        <div class="quick-login">
            <div class="quick-l-wx wxlogin ajaxopen" data-action="http://vip.cssmoban.com/openlogin/weixinlogin?url=http%3A%2F%2Fwww.cssmoban.com%2Fpreview%2Findex.html%3Furl%3Dhttp%3A%2F%2Fzly2021010116_13.demo.kangjingept.com%3A8020%2F%26id%3D17493%26tid%3D20209539500826" data-title="微信登陆" data-w="35%" data-y="50%" id="wxurl">
                <div class="l-wx-icon">
                    <div class="wx-icon"></div>
                </div>
                <p>微信登录</p>
            </div>
            <a class="quick-l-qq qqlogin ajaxopen" href="http://vip.cssmoban.com/openlogin/qqlogin?url=http%3A%2F%2Fwww.cssmoban.com%2Fpreview%2Findex.html%3Furl%3Dhttp%3A%2F%2Fzly2021010116_13.demo.kangjingept.com%3A8020%2F%26id%3D17493%26tid%3D20209539500826" data-title="QQ登陆" data-w="35%" data-y="50%">
                <div class="l-qq-icon">
                    <div class="qq-icon"></div>
                </div>
                <p>QQ登录</p>
            </a></div><a class="quick-l-qq qqlogin ajaxopen" href="http://vip.cssmoban.com/openlogin/qqlogin?url=http%3A%2F%2Fwww.cssmoban.com%2Fpreview%2Findex.html%3Furl%3Dhttp%3A%2F%2Fzly2021010116_13.demo.kangjingept.com%3A8020%2F%26id%3D17493%26tid%3D20209539500826" data-title="QQ登陆" data-w="35%" data-y="50%">
        </a>
    </div>
</div><div class="quick-login-ifr-box"><div class="quick-login-ifr-title"><span class="ifr-title">QQ登录</span><div class="ifr-close"></div></div><iframe src="./在线模拟预览-模板之家cssMoban.com_files/saved_resource(2).html" frameborder="0" class="quick-login-ifr" id="quick-login-ifr"></iframe></div>

<script src="./在线模拟预览-模板之家cssMoban.com_files/tj.js.下载"></script><div style="display: none"><script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/z_stat.php"></script><script src="./在线模拟预览-模板之家cssMoban.com_files/core.php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=1278890537" target="_blank" title="站长统计">站长统计</a></div><script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/7moorInit.js.下载" async="async"></script>

<script>
    $(".ajaxopen").click(function(event){
        var _href = $(this).data('action'),
            _w = $(this).data('w'),
            _h = $(this).data('h'),
            _title = $(this).data('title'),
            _w = _w?_w:'60%',
            _h = _h ?_h:'60%',
            _title = _title?_title:'操作窗口';

        $(".quick-login-ifr-box").css({"width":_w,"height":_h,});
        $("#quick-login-ifr").attr("src",_href);
        $(".quick-login-ifr-title .ifr-title").text(_title);

        var p_w = -$(".quick-login-ifr-box").width()/2  + "px";
        var p_h = -$(".quick-login-ifr-box").height()/2  + "px";
        var ifr_h = $(".quick-login-ifr-box").height() - 42 + "px";
        $(".quick-login-ifr-box").css({"margin-left": p_w,"margin-top": p_h}).show();
        $(".quick-login-ifr").css("height",ifr_h);
    });

    $(document).on('click','.ifr-close',function(event){
        $(".quick-login-ifr-box").hide();
    });


    $(".login").click(function (e) {
        e ? e.stopPropagation():event.cancelBubble = true;
    });

    $(".login-box").click(function () {
        $(this).hide();
    });

    $(".login-btn").click(function () {
        $(".login-box").show();
    });

    var userinfo = getCookie("userinfo");

    $(".quick-l-qq").click(function () {
        var timer = setInterval(function () {
            if (getCookie("userinfo")) {
                clearInterval(timer);
                location.reload();
            }
        }, 800);
    });

    $(".user-tx").hover(
        function () {
            $(".user-msg").show();
        },
        function () {
            $(".user-msg").hide();
        }
    );

    var userVip = '';

    if (userinfo) {
        $.ajax({
            url: "http://vip.cssmoban.com/ApiShenJi/userinfo",
            type: "get",
            data: {
                id: userinfo
            },
            dataType: "json",
            success: function (json) {
                var downdata = json.downdata;
                //return;
                if (json) {
                    userVip = json.myvip.vip;
                    // setSession('screkey', json.screkey);
                    window.localStorage.setItem('screkey', json.screkey);
                } else {

                }
            },
            error: function (err) {
                alert("登录失败");
            }
        })
    }


    $('body').addClass('active');

    var url = window.location.href;
    var hosts = "http://demo2.cssmoban.com/";

    // var _lasturl = getLasturl(geturl("url",url));
    var if_url = "";
    // console.log(if_url);

    if (convertTemp(geturl("url",url)) == "demo.qfpffmp.cn"){
        if_url = hosts + getLasturl(geturl("url",url))
    } else {
        if_url = geturl("url",url);
    }

    $("#iframe").attr("src",if_url);

    var pos = if_url.lastIndexOf('/'); //'/所在的最后位置'
    var _url = if_url.substr(0,pos); //截取路径字符串

    var height = $(".demo-header").height();

    // $(".preview-portrait-block").css({"padding-top":height});

    $(".posti").click(function(){

        $(".posti").removeClass("arve");
        $(this).addClass("arve");

        if($(this).data('id')=="preview-pc"){
            $("body").css({"overflow-y":"hidden"});
            $("iframe").attr("id","iframe");
            $("#iframe").height($(window).height()-height);
            // $(".preview-portrait-block").css({"padding-top":height});
            $(".preview-portrait-block").css({"padding-top":"0px"});
        }else{
            $("body").css({"overflow-y":"inherit"});
            $("iframe").attr("id","preview");
            $("iframe").attr("style","height:100%");
            $(".preview-portrait-block").css({"padding-top":"80px"});
        }
        $(".podmk").removeClass().addClass($(this).data('id')+' podmk');
    });

    $("#iframe").height($(window).height()-height);

    $(window).resize(function() {
        $("#iframe").height($(window).height()-height);
    });

    if(window.localStorage){
        var storage = window.localStorage;
        if (storage.getItem("navbar-tip")){
            $(".navbar-tip").hide();
        } else {
            $(".navbar-tip").show();
        }
        
    }else{
        console.log("浏览器不支持localstorage");
    }

    $(".navbar-tip").click(function () {
        $(this).hide();
        window.localStorage.setItem("navbar-tip",1);
    });

    // 移除框架
    function cols(){
        $(".demo-header").hide();
        if ($(".arve").hasClass("pc")){
            $("#iframe").height($(window).height());
            $(".preview-portrait-block").css("padding-top",$(".preview-portrait-block").css("padding-top").replace(/\s+|px/gi,"") - 56 + "px");
        } else {
            $(".preview-portrait-block").css("padding-top",$(".preview-portrait-block").css("padding-top").replace(/\s+|px/gi,"") - 56 + "px");
        }
    }

    $("head").append('<style>\n' +
        '    .download-hint{\n' +
        '      width: 100%;\n' +
        '      height: 100%;\n' +
        '      background-color: rgba(0,0,0,0.4);\n' +
        '      position: fixed;\n' +
        '      top: 0;\n' +
        '      left: 0;\n' +
        '      display: none;\n' +
        '    }\n' +
        '    .download-hint .hint-box{\n' +
        '      width: 500px;\n' +
        '      height: auto;\n' +
        '      background-color: #fff;\n' +
        '      position: absolute;\n' +
        '      left: 50%;\n' +
        '      top: 40%;\n' +
        '      margin-left: -250px;\n' +
        '      font-size: 16px;\n' +
        '      color: #333333;\n' +
        '    }\n' +
        '    .hint-box .hint-title{\n' +
        '      width: 100%;\n' +
        '      height: 40px;\n' +
        '      line-height: 40px;\n' +
        '      text-align: center;\n' +
        '      background-color: #2A5ABE;\n' +
        '      color: #ffffff;\n' +
        '    }\n' +
        '    .hint-box .hint-content{\n' +
        '      width: 100%;\n' +
        '      height: auto;\n' +
        '      box-sizing: border-box;\n' +
        '      padding: 20px;\n' +
        '    }\n' +
        '    .hint-box .hint-content p.hint-p2{\n' +
        '      margin-top: 10px;\n' +
        '    }\n' +
        '    .hint-box .hint-content p.hint-p3{\n' +
        '      margin-top: 10px;\n' +
        '    }\n' +
        '    .hint-box .hint-content p span{\n' +
        '      color: #E10A0A;\n' +
        '    }\n' +
        '    .hint-box .hint-footer{\n' +
        '      width: 100%;\n' +
        '      box-sizing: border-box;\n' +
        '      border-top: 1px solid #cccccc;\n' +
        '    }\n' +
        '    .hint-box .hint-footer .hint-btn{\n' +
        '      float: left;\n' +
        '      width: 50%;\n' +
        '      box-sizing: border-box;\n' +
        '      text-align: center;\n' +
        '      line-height: 40px;\n' +
        '      cursor: pointer;\n' +
        '    }\n' +
        '    .hint-box .hint-footer .affirm-down{\n' +
        '      border-right: 1px solid #cccccc;\n' +
        '      color: #F87814;\n' +
        '    }\n' +
        '  </style>');

    var _mobanid = geturl("id",url);
    var _mobantid = geturl("tid",url);
    var userinfo = getCookie("userinfo");
    var PuTongCoin,VipCoin;

    var needCoin, // 下载需要的金币
        userCoin, // 用户有的金币
        isbuy, // 用户是否用金币购买过
        mobanname, // 模板名称
        moban_gold, // 模板是否需要金币下载
        screkey = window.localStorage.getItem("screkey");

    // 获取模板价格
    $.ajax({
        url:"http://vip.cssmoban.com/apijinbi/MbinfoByMbid",
        type:"get",
        data:{
            mobanid: _mobanid
        },
        dataType:"json",
        async: false,
        success:function (res) {
            PuTongCoin = res.PuTongCoin;
            VipCoin = res.VipCoin;
        }
    });

    // 获取模板价格以及用户所剩金币信息
    $.ajax({
        url:"http://vip.cssmoban.com/apijinbi/mbinfo",
        type:"get",
        data:{
            mobanid: _mobanid,
            userid: userinfo,
            screkey: screkey
        },
        dataType:"json",
        async: false,
        success:function (res) {
            // console.log(res);
            needCoin = res.needCoin;
            userCoin = res.userCoin;
            isbuy = res.isbuy;
            mobanname = res.mobanname;
            if (needCoin == 0){
                // 非金币模板
                moban_gold = false
            } else {
                moban_gold = true
            }
        }
    });

    function dwonload() {
        if (userinfo != null && userinfo != 'false' && userinfo != undefined) {
            if (moban_gold){
                if (isbuy){
                    downloads();
                }
                else {
                    if ($(".download-hint").length){

                    }
                    else {
                        var download_html = '<div class="download-hint">\n' +
                            '    <div class="hint-box">\n' +
                            '      <div class="hint-title">提示</div>\n' +
                            '      <div class="hint-content">\n' +
                            '        <p class="hint-p1">当前模板需要支付<span>xxx</span>金币，您的当前余额为<span>xxx</span>金币</p>\n' +
                            '        <p class="hint-p2">您当前是普通用户，本次下载需要扣除<span>xxx</span>金币</p>\n' +
                            '        <p class="hint-p3">开通VIP后可享受金币下载3折优惠</p>\n' +
                            '      </div>\n' +
                            '      <div class="hint-footer clearfix">\n' +
                            '        <div class="affirm-down hint-btn">确认下载</div>\n' +
                            '        <div class="cancel-down hint-btn">取消下载</div>\n' +
                            '      </div>\n' +
                            '    </div>\n' +
                            '  </div>';
                        $("body").append(download_html);
                    }
                    if(userVip){
                        $(".hint-content .hint-p1").html('当前模板需要支付<span>'+ VipCoin +'</span>金币，您的当前余额为<span>'+ userCoin +'</span>金币');
                        $(".hint-content .hint-p2").html('您当前是VIP用户，本次下载需要扣除<span>'+ VipCoin +'</span>金币');
                        $(".hint-content .hint-p3").hide();
                    }else {
                        $(".hint-content .hint-p1").html('当前模板需要支付<span>'+ PuTongCoin +'</span>金币，您的当前余额为<span>'+ userCoin +'</span>金币');
                        $(".hint-content .hint-p2").html('您当前是普通用户，本次下载需要扣除<span>'+ PuTongCoin +'</span>金币');
                    }

                    $(".download-hint").show();

                    $(".affirm-down").click(function () {
                        $.ajax({
                            url:"http://vip.cssmoban.com/apijinbi/koujinbin",
                            type:"post",
                            data:{
                                mobanid: _mobanid,
                                userid: userinfo,
                                screkey: screkey
                            },
                            async: false,
                            dataType:"json",
                            success:function (data) {
                                // console.log(data);
                                if(data.code == 0){
                                    $(".download-hint").hide();
                                    if(data.data.match(RegExp('http'))){
                                        window.location.href = data.data
                                    } else {
                                        window.location.href = data.data;
                                        //"http://down.qfpffmp.cn:8020" + data.data;
                                    }
                                }else if (data.code == 10){
                                    var r_url = encodeURI(window.location.href);

                                    window.location.href = "http://www.cssmoban.com/kf_down/index.html?infoid="+ _mobanid +"&r_url=" + r_url;
                                } else {
                                    window.open("http://www.cssmoban.com/statics/user/page/goldPay.html?mobanid=" + _mobanid);
                                }
                            }
                        })
                    });
                    $(".cancel-down").click(function () {
                        $(".download-hint").hide();
                    })
                }
            } else {
                if(userVip){
                    $.ajax({
                        type: "post",
                        url: "http://vip.cssmoban.com/ApiShenJi/down",
                        data: {
                            userid: userinfo,
                            mobanid: _mobanid,
                            screkey: screkey
                        },
                        async: false,
                        dataType: "json",
                        success: function (res) {
                            // console.log(res);
                            if (res.code == 0) {

                                //"http://down.qfpffmp.cn:8020" + res.data;
                                window.location.href = res.data;
                            } else if (res.code == -2) {
                                // alert(res.status);
                                window.open("http://www.cssmoban.com/statics/user/page/kt.html");

                                // 2021-01-26 跳转暂停
                                // if (_mobantid == '20209539500826'){
                                //     window.open("http://www.cssmoban.com/statics/user/page/up-pay-zm.html");
                                // }else{
                                //     window.open("http://www.cssmoban.com/statics/user/page/up-pay.html");
                                // }
                                // 2021-01-26 跳转暂停 end

                            } else if (res.code == 10) {
                                var r_url = encodeURI(window.location.href);

                                window.location.href = "http://www.cssmoban.com/kf_down/index.html?infoid="+ _mobanid +"&r_url=" + r_url;
                            } else {
                                window.open("http://www.cssmoban.com/statics/user/page/kt.html");

                                // 2021-01-26 跳转暂停
                                // if (_mobantid == '20209539500826'){
                                //     window.open("http://www.cssmoban.com/statics/user/page/up-pay-zm.html");
                                // }else{
                                //     window.open("http://www.cssmoban.com/statics/user/page/up-pay.html");
                                // }
                                // 2021-01-26 跳转暂停 end
                            }
                        }
                    });
                } else {
                    window.open("http://www.cssmoban.com/statics/user/page/kt.html");

                    // 2021-01-26 跳转暂停
                    // if (_mobantid == '20209539500826'){
                    //     window.open("http://www.cssmoban.com/statics/user/page/up-pay-zm.html");
                    // }else{
                    //     window.open("http://www.cssmoban.com/statics/user/page/up-pay.html");
                    // }
                    // 2021-01-26 跳转暂停 end
                }
            }
        } else {
            $(".login-box").show();
        }
    }

    function downloads(){
        $.ajax({
            type: "post",
            url: "http://vip.cssmoban.com/ApiShenJi/down",
            data: {
                mobanid: _mobanid,
                userid: userinfo,
                screkey: screkey
            },
            async: false,
            dataType: "json",
            success: function (res) {
                if (res.code == 0) {
                    //"http://down.qfpffmp.cn:8020" + res.data;
                    window.location.href = res.data;
                } else if (res.code == 10) {
                    var r_url = encodeURI(window.location.href);
                    window.open("http://www.cssmoban.com/kf_down/index.html?infoid="+ _mobanid +"&r_url=" + r_url);
                } else if (res.code == 11) {

                } else if (res.code == 12) {
                    window.location.href = res.data;//"http://down.qfpffmp.cn:8020" + res.data;
                } else {
                    layer.msg("下载错误！", {
                        icon: 2,
                        time: 2500
                    });
                }
            }
        });
    }

    function geturl(keys, url) {
        var new_reg = new RegExp('(^|[&?])' + keys + '=([^&]*)(&|$)');
        var new_index = url.indexOf('?');
        var new_str = url.substring(new_index, url.length);
        var new_r = new_str.match(new_reg);
        if (new_r != null) return unescape(new_r[2]);
        return '';
    }

    function getLasturl(value){
        if(value!==null || value !==''){//使用split 进行分割，一定要进行字符串判空
            var str = value.split("http://");
            if (str.length > 1){
                var index = str[1].indexOf("/")+1;
                return str[1].substring(index);
            } else {
                return null;
            }

        }
        return null;
    }

    function convertTemp(d)
    {
        var the_url = d;

        var first_split = the_url.split("//");

        // alert(first_split[0]);

        var without_resource = first_split[1];

        var second_split = without_resource.split("/");

        var domain = second_split[0];

        return domain;
    }

    $.ajax({
        url:_url + '/_menu.json',
        type:'get',
        data:{},
        dataType:'json',
        success:function (res) {
            if (res){
                if (res.code == 'success'){
                    if (res.data.length > 1) {
                        var nav_html = '';
                        var length = res.data.length > 50 ? 50 : res.data.length;
                        for (var i=0;i<length;i++){
                            if (res.data[i].dataSrc == "index.html"){
                                nav_html+='<span data-src="'+ res.data[i].dataSrc +'"  class="active">'+ res.data[i].dataName +'</span>'
                            } else {
                                nav_html+='<span data-src="'+ res.data[i].dataSrc +'">'+ res.data[i].dataName +'</span>'
                            }
                        }
                        $("#nav-html").html(nav_html);

                        $(".preview-nav-list-block span").click(function(){
                            $(".preview-nav-list-block span").removeClass();
                            $(this).addClass('active');

                            // $("iframe").attr('src',$(this).data('src'));
                            $("#iframe").attr("src",_url +"/"+ $(this).data('src'));
                            $("#preview").attr("src",_url +"/"+ $(this).data('src'));
                        })
                    }
                }
            }
        }
    })

</script>

<script type="text/javascript" charset="UTF-8" src="./在线模拟预览-模板之家cssMoban.com_files/online"></script><script type="text/javascript" charset="UTF-8" src="./在线模拟预览-模板之家cssMoban.com_files/online(1)"></script><div></div><div><div class="qimo_inviteBox" id="qimo_inviteBox" style="display: none; right: 10px; bottom: 10px; background: rgb(63, 184, 253);"><img class="qimo_invite_close" id="qimo_invite_close" src="./在线模拟预览-模板之家cssMoban.com_files/invite-close.png"><div class="qimo_inviteBox_top"><div class="qimo_inviteBox_top_img" id="qimo_inviteBox_top_img"><img id="qimo_inviteBox_img" src="./在线模拟预览-模板之家cssMoban.com_files/896beb70-d81a-11e7-b6e7-9da891414b0f.png"></div><div class="qimo_inviteBox_top_right" id="qimo_inviteBox_top_right"><p id="qimo_inviteBox_InviteWords">欢迎咨询，请问有什么可以帮您的吗？</p><div class="qimo_inviteBox_top_button" id="qimo_inviteBox_top_button"><div id="invite_click_button_1" class="divbuttons msie11PadTop" style="color: rgb(255, 255, 255); border-color: rgb(255, 255, 255);">立即咨询</div><div id="invite_click_button_2" class="divbuttons msie11PadTop" style="color: rgb(255, 255, 255); border-color: rgb(255, 255, 255);">以后再说</div></div></div></div><div class="qimo_inviteBox_bottom"><textarea id="sendInviteText" placeholder="请输入您想要输入的内容..." rows="2"></textarea><div id="sendInviteContent" class="sendInviteContent msie11PadTop" style="background: rgb(63, 184, 253);">发送</div></div></div></div><div><div class="qimo_screenpop" id="qimo_screenpop" style="display: none"><div class="screendragbar" id="screendrag"></div><div class="qimo_headerimg" id="qimo_headerimg"><div class="screenminimg" style="display: none" id="screenminimg"><img src="./在线模拟预览-模板之家cssMoban.com_files/small.png"></div><div class="screenminimg" id="screenmaximg"><img src="./在线模拟预览-模板之家cssMoban.com_files/big.png"></div><div class="screenminimg" id="screencloseimg"><img src="./在线模拟预览-模板之家cssMoban.com_files/close.png" style="width: 16px;height: 16px;"></div></div> <div id="mask"></div><iframe id="screenIframe" src="./在线模拟预览-模板之家cssMoban.com_files/saved_resource(3).html" height="100%" width="100%" allow="microphone; camera"></iframe></div></div><div><div class="qimo_videopup" id="qimo_videopup" style="display: none"><div style="" class="m7_dragbar" id="drag"><div class="qimo_minimg" id="qimo_minimg"><img src="./在线模拟预览-模板之家cssMoban.com_files/small.png"></div><div class="qimo_maximg" id="qimo_maximg" style="display: none"><img src="./在线模拟预览-模板之家cssMoban.com_files/big.png"></div> </div><div id="mask"></div><div id="m7videoIframe" style=" height: 100%; width: 100%;"></div></div></div><div><div class="qimo_chatpup" id="qimo_chatpup" style="display: none; left: 18px; bottom: 0px; width: 355px; height: 500px;"><iframe id="chatIframe" src="./在线模拟预览-模板之家cssMoban.com_files/moor_chat.html" height="100%" width="100%"></iframe><div id="maskChat"></div></div><div id="chatBtn" class="chatBtn" style="display: block; background-color: rgb(18, 60, 137); border-radius: 0px 5px 5px 0px; left: -1px; bottom: 18px; padding: 10px 8px;"><img width="25px" height="25px" src="./在线模拟预览-模板之家cssMoban.com_files/1.png"><span style="word-break: break-all; overflow-wrap: break-word; width: 14px; display: block; padding: 0px 6px;">咨询客服</span><span id="qimo_badge"></span></div><div id="qimo_showNewMsg" class="qimo_showNewMsg" style="display: none; "><div id="qimo_showNewMsg_box" class="qimo_showNewMsg_box"><div id="qimo_showNewMsg_title_box" class="qimo_showNewMsg_title_box"><img src="./在线模拟预览-模板之家cssMoban.com_files/agentLogo.png"><span id="qimo_showNewMsg_title" class="qimo_showNewMsg_title"></span></div> <div id="qimo_showNewMsg_content" class="qimo_showNewMsg_content"></div></div><span id="qimo_showNewMsg_close" class="qimo_showNewMsg_close">x</span></div></div><script type="text/javascript" src="./在线模拟预览-模板之家cssMoban.com_files/service"></script></body></html>